import request from '@/utils/request'

// 查询基金订阅
export function query(params) {
  return request({
    url: 'api/front/userSubscribe',
    method: 'get',
    params: params
  })
}

// 新增UserSubscribeService
export function add(data) {
  return request({
    url: 'api/front/userSubscribe',
    method: 'post',
    data
  })
}

// 修改UserSubscribeService
export function edit(data) {
  return request({
    url: 'api/front/userSubscribe',
    method: 'put',
    data
  })
}

// 删除UserSubscribeService
export function del(ids) {
  return request({
    url: 'api/front/userSubscribe/',
    method: 'delete',
    data: ids
  })
}

export default { add, edit, del }

